package com.grgbanking.it.system.entity;

import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * GrgemEquipments01 entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "grgem_equipments_01", catalog = "td_oa")
public class GrgemEquipments implements java.io.Serializable {

	// Fields

	private String equiId;
	private Integer no;
	private String equiName;
	private Integer equiType;
	private String model;
	private String brand;
	private Date buyDate;
	private String detail;
	private String attachment;
	private String memo;
	private Double price;
	private String supplier;
	private String isasset;
	private String place;
	private String equiSerial;
	private Integer runStatus;
	private String useUser;
	private String useFor;
	private Integer useDept;
	private String useUserDept;
	private String operator;
	private String deleted;
	private Integer lockFlag;
	private String sapNo;

	// Constructors

	/** default constructor */
	public GrgemEquipments() {
	}

	/** minimal constructor */
	public GrgemEquipments(Integer no, String useFor, String deleted) {
		this.no = no;
		this.useFor = useFor;
		this.deleted = deleted;
	}

	

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "EQUI_ID", unique = true, nullable = false, length = 20)
	public String getEquiId() {
		return this.equiId;
	}

	public void setEquiId(String equiId) {
		this.equiId = equiId;
	}

	@Column(name = "NO", nullable = false)
	public Integer getNo() {
		return this.no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	@Column(name = "EQUI_NAME")
	public String getEquiName() {
		return this.equiName;
	}

	public void setEquiName(String equiName) {
		this.equiName = equiName;
	}

	@Column(name = "EQUI_TYPE")
	public Integer getEquiType() {
		return this.equiType;
	}

	public void setEquiType(Integer equiType) {
		this.equiType = equiType;
	}

	@Column(name = "MODEL")
	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(name = "BRAND")
	public String getBrand() {
		return this.brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "BUY_DATE", length = 10)
	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	@Column(name = "DETAIL", length = 65535)
	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	@Column(name = "ATTACHMENT", length = 65535)
	public String getAttachment() {
		return this.attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	@Column(name = "MEMO", length = 65535)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Column(name = "PRICE", precision = 10)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Column(name = "SUPPLIER")
	public String getSupplier() {
		return this.supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	@Column(name = "ISASSET", length = 4)
	public String getIsasset() {
		return this.isasset;
	}

	public void setIsasset(String isasset) {
		this.isasset = isasset;
	}

	@Column(name = "PLACE")
	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	@Column(name = "EQUI_SERIAL")
	public String getEquiSerial() {
		return this.equiSerial;
	}

	public void setEquiSerial(String equiSerial) {
		this.equiSerial = equiSerial;
	}

	@Column(name = "RUN_STATUS")
	public Integer getRunStatus() {
		return this.runStatus;
	}

	public void setRunStatus(Integer runStatus) {
		this.runStatus = runStatus;
	}

	@Column(name = "USE_USER", length = 20)
	public String getUseUser() {
		return this.useUser;
	}

	public void setUseUser(String useUser) {
		this.useUser = useUser;
	}

	@Column(name = "USE_FOR", nullable = false, length = 200)
	public String getUseFor() {
		return this.useFor;
	}

	public void setUseFor(String useFor) {
		this.useFor = useFor;
	}

	@Column(name = "USE_DEPT")
	public Integer getUseDept() {
		return this.useDept;
	}

	public void setUseDept(Integer useDept) {
		this.useDept = useDept;
	}

	@Column(name = "USE_USER_DEPT", length = 30)
	public String getUseUserDept() {
		return this.useUserDept;
	}

	public void setUseUserDept(String useUserDept) {
		this.useUserDept = useUserDept;
	}

	@Column(name = "OPERATOR", length = 20)
	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	@Column(name = "DELETED", nullable = false, length = 1)
	public String getDeleted() {
		return this.deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	@Column(name = "LOCK_FLAG")
	public Integer getLockFlag() {
		return this.lockFlag;
	}

	public void setLockFlag(Integer lockFlag) {
		this.lockFlag = lockFlag;
	}

	@Column(name = "SAP_NO", length = 100)
	public String getSapNo() {
		return this.sapNo;
	}

	public void setSapNo(String sapNo) {
		this.sapNo = sapNo;
	}

}